shortcut to convert number into date and time